<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加博客或者修改</title>
</head>

<body>
    <div id="edit">
        <table id="add_edit">
            <tr hidden>
                <td><label for="">id:</label></td>
                <td><input type="text" id="id"></td>
            </tr>
            <tr >
                <td><label for="">标题:</label></td>
                <td><input type="text" id="biaoti"></td>
            </tr>

            <tr>
                <td><label for="">摘要:</label></td>
                <td><input type="text" id="caiyao"></td>
            </tr>

            <tr>
                <td><label for="">内容:</label></td>
                <td><input type="text" id="neirong"></td>
            </tr>

            <tr>
                <td><label for="">分类:</label></td>
                <td><input type="text" id="fenlei"></td>
            </tr>
            <tr>
                <td><label for="">作者:</label></td>
                <td><input type="text" id="writer"></td>
            </tr>
            
                <input type="button" value="保存" onclick="yes()">
                <input type="button" value="取消" onclick="(()=>{window.location.href='./index.html'})()">
            </tr>
            </tr>
        </table>

    </div>

    <script src="./js/jquery-3.6.0.min.js"></script>

    <script src="./js/init.js"></script>
    <script src="./addOrEdit.js"></script>


</body>

</html>